import axios from "axios";

export const getTypesList=params=>axios.get('/categroy/findAllCategroy',{params:{parentId:0}})
export const addTypesList=data=>axios.post('/goods/addGoods',data)
export const getAllGoods=()=>axios.get('/goods/findGoods')
export const  deleteOne=data=>axios.post('/goods/deleteGoods',data)
export const  updateOne=data=>axios.post('/goods/updateGoods',data)